#version 150

in vec4 vPosition;
in vec4 vColor;

out vec4 fColor;

uniform mat4 projectionMatrix;
uniform mat4 modelMatrix;
uniform mat4 viewMatrix;

void main() {
    fColor = vColor;
    gl_Position = projectionMatrix * viewMatrix * modelMatrix * vPosition;
}
